-- GENERATED SPELL FOR [Noxious Flayer] --


function spell0_4346(pUnit, Event) --@Poison Burst,n/a--
pUnit:FullCastSpellOnTarget(43132,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4346', 10000, 1)
end

function Sorts_4346(pUnit, Event)
local choix_sorts_4346 = math.random(0, 0)
if choix_sorts_4346 == 0 then
pUnit:RegisterEvent('spell0_4346', 1, 1)
end
end

function mob4346_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4346', math.random(1500, 3000), 1)
end

function mob4346_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4346_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4346_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4346, 1, 'mob4346_Action')
RegisterUnitEvent(4346, 2, 'mob4346_Leave')
RegisterUnitEvent(4346, 3, 'mob4346_Kill')
RegisterUnitEvent(4346, 4, 'mob4346_Die')
